package com.tanavlog.web.dto.request;

import com.tanavlog.web.validation.RegistryInfoCheckGroupOne;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author 枫花恋
 * @description 注册对象信息传输对象
 * @since 2025/7/25 11:18
 */
@Data
public class RegistryUserInfoCheckDTO {
    @NotBlank(message = "用户名不能为空", groups = {RegistryInfoCheckGroupOne.class})
    private String username;
    @NotBlank(message = "用户名不能为空", groups = {RegistryInfoCheckGroupOne.class})
    @Email(message = "邮箱格式错误", groups = {RegistryInfoCheckGroupOne.class})
    private String email;
    private String password;
    private Integer gender;
    private Date birthday;
    private Integer Country;
}
